package com.lst.tools.oss.properties;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * oss配置参数
 *
 * @author: Frank
 * @date: 2018/8/17 15:01
 * @version: V1.0
 */
@Data
@NoArgsConstructor
@Component
@ConfigurationProperties(prefix = "oss")
public class OssProperties {
    /**
     * 正式图片访问前缀
     */
    private String realUrlBase;
    /**
     * 访问域名      如 oss-cn-shenzhen.aliyuncs.com
     */
    private String enPoint;
    /**
     * 产品id
     */
    private String accessKeyId;
    /**
     * 访问密钥
     */
    private String accessKeySecret;
    /**
     * bucKey
     */
    private String bucKey;
}
